package com.aliyun.oss.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;

@TableName("setmeal_dish")
public class setMealDish {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer setmealId;
    private Integer dishId;
    private String name;
    private BigDecimal price;
    private Integer copies;

    @Override
    public String toString() {
        return "setMealDish{" +
                "id=" + id +
                ", setmealId=" + setmealId +
                ", dishId=" + dishId +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", copies=" + copies +
                '}';
    }

    public setMealDish(Integer setmealId, Integer dishId, String name, BigDecimal price) {
        this.setmealId = setmealId;
        this.dishId = dishId;
        this.name = name;
        this.price = price;
    }

    public setMealDish(Integer id, Integer setmealId, Integer dishId, String name, BigDecimal price, Integer copies) {
        this.id = id;
        this.setmealId = setmealId;
        this.dishId = dishId;
        this.name = name;
        this.price = price;
        this.copies = copies;
    }

    public setMealDish() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSetmealId() {
        return setmealId;
    }

    public void setSetmealId(Integer setmealId) {
        this.setmealId = setmealId;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getCopies() {
        return copies;
    }

    public void setCopies(Integer copies) {
        this.copies = copies;
    }
}
